/**
 * 
 */
package com.nari.interfaces.decipher.gprs.vo;

import java.util.ArrayList;
import java.util.List;

import com.nari.heatshare.model.IAssignMeterDataGather;
import com.nari.heatshare.model.ITemperaturePointDataGather;
import com.nari.interfaces.decipher.common.warn.DecipherWarnConstants;
import com.nari.interfaces.model.IHeatMeterData24Gather;
import com.nari.interfaces.model.IMissionFailureLog;

/**
 * 接口上传的热量表数据、分配表数据，及数据传送状态信息
 * @author Xiaopeng
 * @date 2013-11-5
 */
public class UploadMeterDataSeal {
	//集中器号(上传批次标识1)
	private String concentratorNo;
	//抄表日期(字符串表示yyyy-MM-dd，上传批次标识2)
	private String recordTime;
	//当前传送的帧序号
	private int currFrameIndex;
	//批次上传的总帧数
	private int totalFrames;
	//下次要求传送的帧序号
	private int requestFrameIndex;
	//帧数据中解析的热量表数据
	private List<IHeatMeterData24Gather> heatMeterDatas;
	//帧数据中解析的分配表数据
	private List<IAssignMeterDataGather> assignMeterDatas;
	//帧数据中解析的温度点数据
	private List<ITemperaturePointDataGather> tempPointDatas;
	//帧解析异常级别 - 默认解析器工作正常
	private String decipherFailureLevel = DecipherWarnConstants.warnReport_level_formal;
	//帧解析失败日志
	private List<IMissionFailureLog> frameDecoderLogList;
	
	public UploadMeterDataSeal() {
		this.heatMeterDatas = new ArrayList<IHeatMeterData24Gather>(0);
		this.assignMeterDatas = new ArrayList<IAssignMeterDataGather>(0);
		this.tempPointDatas = new ArrayList<ITemperaturePointDataGather>(0);
		this.frameDecoderLogList = new ArrayList<IMissionFailureLog>(0);
	}
	
	/**
	 * 清空接口上传的数据包
	 * @author Xiaopeng
	 * @date 2013-11-5
	 */
	public void clearDataSeal() {
		this.heatMeterDatas.clear();
		this.assignMeterDatas.clear();
		this.tempPointDatas.clear();
		this.frameDecoderLogList.clear();
	}
	
	/**
	 * @return the concentratorNo
	 */
	public String getConcentratorNo() {
		return concentratorNo;
	}

	/**
	 * @param concentratorNo the concentratorNo to set
	 */
	public void setConcentratorNo(String concentratorNo) {
		this.concentratorNo = concentratorNo;
	}

	/**
	 * @return the recordTime
	 */
	public String getRecordTime() {
		return recordTime;
	}

	/**
	 * @param recordTime the recordTime to set
	 */
	public void setRecordTime(String recordTime) {
		this.recordTime = recordTime;
	}

	/**
	 * @return the currFrameIndex
	 */
	public int getCurrFrameIndex() {
		return currFrameIndex;
	}

	/**
	 * @param currFrameIndex the currFrameIndex to set
	 */
	public void setCurrFrameIndex(int currFrameIndex) {
		this.currFrameIndex = currFrameIndex;
	}

	/**
	 * @return the totalFrames
	 */
	public int getTotalFrames() {
		return totalFrames;
	}

	/**
	 * @param totalFrames the totalFrames to set
	 */
	public void setTotalFrames(int totalFrames) {
		this.totalFrames = totalFrames;
	}

	/**
	 * @return the requestFrameIndex
	 */
	public int getRequestFrameIndex() {
		return requestFrameIndex;
	}

	/**
	 * @param requestFrameIndex the requestFrameIndex to set
	 */
	public void setRequestFrameIndex(int requestFrameIndex) {
		this.requestFrameIndex = requestFrameIndex;
	}

	/**
	 * @return the heatMeterDatas
	 */
	public List<IHeatMeterData24Gather> getHeatMeterDatas() {
		return heatMeterDatas;
	}

	/**
	 * @return the assignMeterDatas
	 */
	public List<IAssignMeterDataGather> getAssignMeterDatas() {
		return assignMeterDatas;
	}

	/**
	 * @return the tempPointDatas
	 */
	public List<ITemperaturePointDataGather> getTempPointDatas() {
		return tempPointDatas;
	}

	/**
	 * @return the frameDecoderLogList
	 */
	public List<IMissionFailureLog> getFrameDecoderLogList() {
		return frameDecoderLogList;
	}

	/**
	 * @return the decipherFailureLevel
	 */
	public String getDecipherFailureLevel() {
		return decipherFailureLevel;
	}

	/**
	 * @param decipherFailureLevel the decipherFailureLevel to set
	 */
	public void setDecipherFailureLevel(String decipherFailureLevel) {
		this.decipherFailureLevel = decipherFailureLevel;
	}

	
}
